package com.hds.bean;

/**
 * @Author guonan
 * @Email guonan@yewcn.com
 * @Description
 * @Date 2018/8/3 11:02
 */
public class ActivateBean {


    /**
     * id : 185
     * activationcode : PAQSPRH8
     * cardNo : 00000005
     * level : {"id":1,"level":2,"name":"VIP会员"}
     * createTime : 2018-07-31 14:42:00
     * status : 2
     * activateTime : null
     * uid : null
     * company : {"id":1,"name":"百年"}
     * expireTime : null
     * period : 1
     * guarantee : 2018-10-31 14:42:00
     * batch : 1
     */

    private int id;
    private String activationcode;
    private String cardNo;
    private LevelActivateBean level;
    private String createTime;
    private int status;
    private Object activateTime;
    private Object uid;
    private CompanyActivateBean company;
    private Object expireTime;
    private int period;
    private String guarantee;
    private int batch;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getActivationcode() {
        return activationcode;
    }

    public void setActivationcode(String activationcode) {
        this.activationcode = activationcode;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public LevelActivateBean getLevel() {
        return level;
    }

    public void setLevel(LevelActivateBean level) {
        this.level = level;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Object getActivateTime() {
        return activateTime;
    }

    public void setActivateTime(Object activateTime) {
        this.activateTime = activateTime;
    }

    public Object getUid() {
        return uid;
    }

    public void setUid(Object uid) {
        this.uid = uid;
    }

    public CompanyActivateBean getCompany() {
        return company;
    }

    public void setCompany(CompanyActivateBean company) {
        this.company = company;
    }

    public Object getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Object expireTime) {
        this.expireTime = expireTime;
    }

    public int getPeriod() {
        return period;
    }

    public void setPeriod(int period) {
        this.period = period;
    }

    public String getGuarantee() {
        return guarantee;
    }

    public void setGuarantee(String guarantee) {
        this.guarantee = guarantee;
    }

    public int getBatch() {
        return batch;
    }

    public void setBatch(int batch) {
        this.batch = batch;
    }

    public static class LevelActivateBean {
        /**
         * id : 1
         * level : 2
         * name : VIP会员
         */

        private int id;
        private int level;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    public static class CompanyActivateBean {
        /**
         * id : 1
         * name : 百年
         */

        private int id;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
